.class public abstract Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;
.super Lcom/estrongs/android/pop/esclasses/ESActivity;
.source "ESAbsToolbarActivity.java"


# instance fields
.field protected d:Z

.field protected e:Z

.field public f:Z

.field g:Lcom/estrongs/android/pop/app/w;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;-><init>()V

    const/4 v0, 0x1

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->d:Z

    const/4 v0, 0x0

    .line 3
    iput-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->e:Z

    .line 4
    new-instance v0, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity$a;-><init>(Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->g:Lcom/estrongs/android/pop/app/w;

    return-void
.end method


# virtual methods
.method protected A()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method protected abstract B()Landroid/view/View;
.end method

.method protected abstract C()Landroid/view/View;
.end method

.method public D()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->e:Z

    return v0
.end method

.method protected abstract E()Z
.end method

.method public F()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->d:Z

    return v0
.end method

.method protected abstract G()V
.end method

.method protected a(Lcom/estrongs/android/view/FileGridViewWrapper;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->g:Lcom/estrongs/android/pop/app/w;

    invoke-virtual {p1, v0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->a(Landroid/view/View$OnTouchListener;)V

    return-void
.end method

.method public f(Z)V
    .locals 0

    .line 1
    iput-boolean p1, p0, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->e:Z

    return-void
.end method

.method public g(Z)V
    .locals 1

    .line 1
    iput-boolean p1, p0, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->d:Z

    if-eqz p1, :cond_1

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->C()Landroid/view/View;

    move-result-object p1

    const/4 v0, 0x0

    if-eqz p1, :cond_0

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->C()Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V

    .line 4
    :cond_0
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->B()Landroid/view/View;

    move-result-object p1

    if-eqz p1, :cond_3

    .line 5
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->B()Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    .line 6
    :cond_1
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->C()Landroid/view/View;

    move-result-object p1

    const/16 v0, 0x8

    if-eqz p1, :cond_2

    .line 7
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->C()Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V

    .line 8
    :cond_2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->B()Landroid/view/View;

    move-result-object p1

    if-eqz p1, :cond_3

    .line 9
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->B()Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V

    .line 10
    :cond_3
    :goto_0
    iget-boolean p1, p0, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->d:Z

    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->h(Z)V

    return-void
.end method

.method protected abstract h(Z)V
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 0

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->u()Z

    move-result p1

    if-nez p1, :cond_0

    :cond_0
    return-void
.end method

.method protected onPause()V
    .locals 2

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onPause()V

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    iget-boolean v1, p0, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->d:Z

    xor-int/lit8 v1, v1, 0x1

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/l;->D(Z)V

    return-void
.end method

.method protected onResume()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onResume()V

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->u()Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    .line 4
    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->v1()Z

    move-result v0

    xor-int/lit8 v0, v0, 0x1

    iput-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->d:Z

    .line 5
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->g(Z)V

    return-void
.end method
